package com.example.expresscabinet.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.expresscabinet.common.Result;
import com.example.expresscabinet.model.cabinet;
import com.example.expresscabinet.model.user;

import java.util.List;

public interface ICabinetService extends IService<cabinet> {
    //查询空柜子列表
    public Page<cabinet> emptyCabinet(Integer pageNum,Integer pageSize);
    public void takeEmptyCabinet(int num);
    public void takeOccupyCabinet(int num);
    public void takeEmptyCabinetByCode(String code);
}
